package com.linyf.design.abstractFactory.one;

import com.linyf.design.abstractFactory.one.productA.ProductA;
import com.linyf.design.abstractFactory.one.productA.WomanWithProductA;
import com.linyf.design.abstractFactory.one.productB.ProductB;
import com.linyf.design.abstractFactory.one.productB.WithProductB;

/**
 * @Author: linyf
 * @Description: TODO
 * @DateTime: 2023/3/29 9:47
 **/
public class WithProductFactory extends AbstractProductFactory {


    @Override
    public ProductA createWomanProductA() {
        return new WomanWithProductA();
    }

    @Override
    public ProductB createProductB() {
        return new WithProductB();
    }

}
